package cn.ffcs.bpm.model;


import java.util.Date;
import java.util.List;

import cn.ffcs.base.model.BaseEntity;
import cn.ffcs.bpm.model.ProcessConfig;
import cn.ffcs.bpm.model.ProcessStep;
import cn.ffcs.bpm.model.TransactorType;
import cn.ffcs.organ.model.Person;

/**
 * 流程配置实体类：定义基本属性<br/>
 * <table>
 * <tr>
 * <td>负责人/principal:</td>
 * <td colspan="2">g.pany</td>
 * <tr>
 * <td>修改记录/revision:</td>
 * <td colspan="2"></td>
 * </tr>
 * <tr>
 * <td>日期:2009-5-20</td>
 * <td>修改人:g.pany</td>
 * <td>修改说明:</td>
 * </tr>
 * <tr>
 * <td></td>
 * <td></td>
 * <td></td>
 * </tr>
 * </table>
 * @author g.pany
 * @version $Id$
 */

public class ProcessConfigDetail extends BaseEntity
{               
    /** 节点名称**/
    private String name;
    
    /** 节点类型.0为开始节点，1为结束，2为过程 **/
    private String nodeType;
    
    /** 所属流程**/
    private ProcessConfig processConfig;
    
    /** 流程步骤**/
    private ProcessStep processStep;
    
    /** 办理人类型**/
    private TransactorType transactorType;

    /** 时限天数**/
    private String timeLimit;
    
    /** 创建时间**/
    private Date createTime;

    /** 流程事项说明**/
    private String flowExplain;

    /** 处理时限说明**/
    private String limitExplain;
    
    //TODO by junyang
    private Person person;
    
    private String swinlane;
    
    private String secRole;
    
    private String condition;
    
    private String url;
    
    private String nodeX;
    
    private String nodeY;
    
    private String nodeW;
    
    private String nodeH;
    
    private Integer orderBy ;
    private List<Person> personList;
    
    private String assignHandlerClass;
    
    //end
    
    /** default constructor */
    public ProcessConfigDetail() {
    }

    /** minimal constructor */
    public ProcessConfigDetail(int id) {
        this.id = id;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public String getNodeType()
    {
        return nodeType;
    }

    public void setNodeType(String nodeType)
    {
        this.nodeType = nodeType;
    }

    public ProcessConfig getProcessConfig()
    {
        return processConfig;
    }

    public void setProcessConfig(ProcessConfig processConfig)
    {
        this.processConfig = processConfig;
    }

    public ProcessStep getProcessStep()
    {
        return processStep;
    }

    public void setProcessStep(ProcessStep processStep)
    {
        this.processStep = processStep;
    }

    public TransactorType getTransactorType()
    {
        return transactorType;
    }

    public void setTransactorType(TransactorType transactorType)
    {
        this.transactorType = transactorType;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getTimeLimit()
    {
        return timeLimit;
    }

    public void setTimeLimit(String timeLimit)
    {
        this.timeLimit = timeLimit;
    }

    public String getFlowExplain()
    {
        return flowExplain;
    }

    public void setFlowExplain(String flowExplain)
    {
        this.flowExplain = flowExplain;
    }

    public String getLimitExplain()
    {
        return limitExplain;
    }

    public void setLimitExplain(String limitExplain)
    {
        this.limitExplain = limitExplain;
    }

	public Person getPerson() {
		return person;
	}

	public void setPerson(Person person) {
		this.person = person;
	}

	public String getSwinlane() {
		return swinlane;
	}

	public void setSwinlane(String swinlane) {
		this.swinlane = swinlane;
	}

	public String getSecRole() {
		return secRole;
	}

	public void setSecRole(String secRole) {
		this.secRole = secRole;
	}

	public String getCondition() {
		return condition;
	}

	public void setCondition(String condition) {
		this.condition = condition;
	}

	public List<Person> getPersonList() {
		return personList;
	}

	public void setPersonList(List<Person> personList) {
		this.personList = personList;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getNodeX() {
		return nodeX;
	}

	public void setNodeX(String nodeX) {
		this.nodeX = nodeX;
	}

	public String getNodeY() {
		return nodeY;
	}

	public void setNodeY(String nodeY) {
		this.nodeY = nodeY;
	}

	public String getNodeW() {
		return nodeW;
	}

	public void setNodeW(String nodeW) {
		this.nodeW = nodeW;
	}

	public String getNodeH() {
		return nodeH;
	}

	public void setNodeH(String nodeH) {
		this.nodeH = nodeH;
	}

	public Integer getOrderBy() {
		return orderBy;
	}

	public void setOrderBy(Integer orderBy) {
		this.orderBy = orderBy;
	}

	public String getAssignHandlerClass() {
		return assignHandlerClass;
	}

	public void setAssignHandlerClass(String assignHandlerClass) {
		this.assignHandlerClass = assignHandlerClass;
	}
	

}
